package com.pan.admin.module.crm.dao;

import com.pan.admin.module.crm.entity.po.CrmStatisticDeptPO;
import com.pan.admin.module.crm.entity.po.CrmStatisticUserPO;
import com.pan.admin.module.crm.entity.qo.CrmStatisticDeptQO;
import com.pan.admin.module.crm.entity.qo.CrmStatisticUserQO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *  数据统计业务
 *
 *  @author Pan
 */
@Mapper
public interface CrmStatisticDao {

    /**
     *  员工统计数据
     *
     *  @param  crmStatisticUserQO
     *  @return List
     */
    List<CrmStatisticUserPO> userStatistic(CrmStatisticUserQO crmStatisticUserQO);

    /**
     *  公司(部门)统计数据
     *
     *  @param  crmStatisticDeptQO
     *  @return List
     */
    List<CrmStatisticDeptPO> deptStatistic(CrmStatisticDeptQO crmStatisticDeptQO);

}
